configure_file("${CMAKE_CURRENT_SOURCE_DIR}/spec.cmake"
	"${CMAKE_CURRENT_BINARY_DIR}/${PACKAGE_NAME_LONG_LC}.spec" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/desktop.cmake"
	"${CMAKE_CURRENT_BINARY_DIR}/${PACKAGE_NAME}.desktop" @ONLY)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PACKAGE_NAME}.desktop"
	DESTINATION "${CMAKE_INSTALL_DATADIR}/applications"
	RENAME "${PACKAGE_NAME}-tracer.desktop")
install(FILES ../images/generated/icon.svg
	DESTINATION "${CMAKE_INSTALL_DATADIR}/pixmaps"
	RENAME "${PACKAGE_NAME}-tracer.svg")

configure_file("${CMAKE_CURRENT_SOURCE_DIR}/debian/changelog.cmake"
	"${CMAKE_CURRENT_BINARY_DIR}/debian/changelog" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/debian/compat.cmake"
	"${CMAKE_CURRENT_BINARY_DIR}/debian/compat" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/debian/control.cmake"
	"${CMAKE_CURRENT_BINARY_DIR}/debian/control" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/debian/copyright.cmake"
	"${CMAKE_CURRENT_BINARY_DIR}/debian/copyright" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/debian/rules.cmake"
	"${CMAKE_CURRENT_BINARY_DIR}/debian/rules" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/debian/tracer-install.cmake"
	"${CMAKE_CURRENT_BINARY_DIR}/debian/${PACKAGE_NAME_LONG_LC}.install" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/debian/tracer-menu.cmake"
	"${CMAKE_CURRENT_BINARY_DIR}/debian/${PACKAGE_NAME_LONG_LC}.menu" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/debian/tracer-dirs.cmake"
	"${CMAKE_CURRENT_BINARY_DIR}/debian/${PACKAGE_NAME_LONG_LC}.dirs" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/debian/tracer-docs.cmake"
	"${CMAKE_CURRENT_BINARY_DIR}/debian/${PACKAGE_NAME_LONG_LC}.docs" @ONLY)
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/debian/tools-install.cmake"
	"${CMAKE_CURRENT_BINARY_DIR}/debian/${PACKAGE_NAME_LONG_LC}-cli.install" @ONLY)
